body, html {
  height: 100%;
  width: 100%;
}

.navbar {
  border: none;
  margin-bottom: 0;
}

@media screen and (min-width: 600px) and (max-width: 960px) {
  .header {
    text-align: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 100%;
    background: url("http://file.rzkeji.com/web/f6/web/images/headerBg.jpg") no-repeat;
    background-size: cover;
    position: relative;
  }
  .header a {
    color: gray;
    font-size: 15px;
  }
  .header a:hover {
    color: #fff !important;
  }
  .container-fluid {
    padding: 0px !important;
  }
  .navbar-nav img {
    width: 16px;
    height: 15px;
  }
  .tel_logo {
    display: none;
  }
  .navbar-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .navbar-nav li {
    width: 14.2%;
  }
  .navbar-nav li a {
    padding-left: 0px;
    padding-right: 0px;
  }
  .navbar-nav li:nth-child(1) {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .navbar-nav li:nth-child(1) a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .navbar-nav li:nth-child(1) a span:nth-of-type(1) {
    white-space: nowrap;
  }
  .navbar-nav li:nth-child(1) a span:nth-of-type(2) {
    margin-right: 5px;
    margin-left: 5px;
  }
  .navbar-nav .logo img {
    width: 56px;
    height: 56px;
  }
  .language_web {
    display: block;
  }
  .language_tel {
    display: none;
  }
  footer {
    margin-top: 10px;
    width: 100%;
    height: 80px;
    background: url("http://file.rzkeji.com/web/f6/web/images/headerBg.jpg") no-repeat;
    background-size: cover;
    color: #5f5f5f;
    font-size: 13px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -ms-flex-line-pack: center;
        align-content: center;
  }
  footer > div {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  footer > div > div {
    margin: 2.5px 5px;
  }
  footer a {
    color: #5f5f5f !important;
  }
}

@media screen and (min-width: 960px) {
  .language_web {
    display: block;
  }
  .language_tel {
    display: none;
  }
  .header {
    text-align: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 100%;
    background: url("http://file.rzkeji.com/web/f6/web/images/headerBg.jpg") no-repeat;
    background-size: cover;
    position: relative;
  }
  .header a {
    color: gray;
    font-size: 15px;
  }
  .header a:hover {
    color: #fff !important;
  }
  .container-fluid {
    padding: 0px !important;
    width: 75%;
  }
  .navbar-nav img {
    width: 16px;
    height: 15px;
  }
  .tel_logo {
    display: none;
  }
  .navbar-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .navbar-nav li {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
  .navbar-nav li:nth-child(1) {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .navbar-nav li:nth-child(1) a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 0 !important;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .navbar-nav li:nth-child(1) a span:nth-of-type(1) {
    white-space: nowrap;
    margin-left: 5px;
  }
  .navbar-nav li:nth-child(1) a span:nth-of-type(2) {
    margin-right: 10px;
    margin-left: 10px;
  }
  .navbar-nav li:nth-child(1) a:nth-child(1) {
    float: left;
  }
  .navbar-nav li:nth-child(1) a:nth-child(2) {
    float: right;
  }
  .navbar-nav .logo img {
    width: 56px;
    height: 56px;
  }
  footer {
    margin-top: 10px;
    width: 100%;
    height: 80px;
    background: url("http://file.rzkeji.com/web/f6/web/images/headerBg.jpg") no-repeat;
    background-size: cover;
    color: #5f5f5f;
    font-size: 13px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -ms-flex-line-pack: center;
        align-content: center;
  }
  footer > div {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  footer > div > div {
    margin: 2.5px 5px;
  }
  footer a {
    color: #5f5f5f !important;
  }
}

@media screen and (max-width: 600px) {
  .language_web {
    display: none !important;
  }
  .language_tel {
    display: block;
  }
  .navbar-header {
    position: relative;
    z-index: 99999;
    background: url("http://file.rzkeji.com/web/f6/web/images/headerBg.jpg") no-repeat;
    background-size: cover;
  }
  .navbar-nav img {
    width: 16px;
    height: 15px;
  }
  .web_logo {
    display: none !important;
  }
  .navbar-brand {
    padding: 5px;
  }
  .navbar-brand img {
    width: 40px;
    height: 40px;
  }
  .tel_logo {
    position: absolute;
    left: 50%;
    float: none;
    display: inline-block;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
  .dropdown {
    position: absolute;
    top: 50%;
    left: 0.4rem;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
  }
  .dropdown img {
    width: 15px;
    height: 15px;
    margin-left: 5px;
    vertical-align: middle;
  }
  .la span, .language span {
    vertical-align: middle;
  }
  .hide {
    display: none;
  }
  footer {
    margin-top: 0.5rem;
    width: 100%;
    height: 1.5rem;
    background: url("http://file.rzkeji.com/web/f6/web/images/headerBg.jpg") no-repeat;
    background-size: cover;
    color: #5f5f5f;
    font-size: 13px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -ms-flex-line-pack: center;
        align-content: center;
  }
  footer > div {
    margin: 0.05rem 0;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  footer > div > div {
    margin: 0 0.2rem;
  }
  footer a {
    color: #5f5f5f !important;
  }
}
